<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link type="text/css" rel="stylesheet" href="inc/style.css" />
<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.8.18.custom.min.js"></script>
<title>Add new Event</title>
</head>
<body>
    <script>
        $(function() {
            $('input[name=date]').datepicker();
        });
    </script>
    <form method="POST" action='personalPageServlet' name="frmAddEvent">
       Event Id : <input type="text" readonly="readonly" name="eventid"
            value="<c:out value="${event.idevent}" />" /> <br /> 
        Date : <input
            type="text" name="date"
             value="<fmt:formatDate pattern="MM/dd/yyyy" value="${event.date}" />" /> <> <p>"${fdate}"</p> <br /> 
        Creator : <input
            type="text" name="eventCreator"
            value="<c:out value="${event.eventCreator}" />" /> <br />            
           
        Indoor_outdoor? : <input
            type="text" name="indoor_outdoor"    
            value="<c:out value="${event.indoor_outdoor}" />" /> <br /> 
        
       
        Name : <input type="text" name="name"
            value="<c:out value="${event.name}" />" /> <br /> 
        
        Place : <input type="text" name="place"
            value="<c:out value="${event.place}" />" /> <br /> 
        
        Pseudo : <input type="text" name="pseudo"
            value="<c:out value="${pseudo}" />" /> <br />  
        
                 
            <input type="submit" value="Submit" />
    </form>
</body>
</html>